<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Index extends Model
{
    protected $table='class';
//    添加
static function addData($postData){
    return self::insert($postData);
}
//展示
static function showData(){
    return self::paginate(2);
}
}
